package com.taotao.service;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.taotao.apitype.ApiHepler;
import com.taotao.domain.TbOrder;

//@FeignClient("taotao-order")
public interface OrderService {
	//@RequestMapping(method = RequestMethod.GET, value = "/orderList")
	//get请求要传递多个参数只能这样写 不然会报不能有多个参数的报错
	ApiHepler.PagingResponse<TbOrder> orderList(@RequestParam Map<String,Object> params);

	//@RequestMapping(method = RequestMethod.GET, value = "/")
	String info();
}
